﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.ImageViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf - Börnin mín
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Börnin mín</h1>
    <br />
    <ul class = "borninMin">
      <% foreach (var item in Model.children )
       { %>
           <li> <%:Html.ActionLink(item.Name, "UpplysingarUmBarn", new { id = item.ID })%> </li>
    <%} %>
    </ul>

    <p class= "tilbaka">
        <%: Html.ActionLink("Til Baka", "MittSvaedi") %>
    </p>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Actions" runat="server" >
    <%Html.RenderPartial("PartialViews/Actions", "MittSvaedi" ); %>
</asp:Content>
